<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2018/10/8
 * Time: 19:43
 */
include "config.php";
if($_SERVER["REQUEST_METHOD"]=="POST") {
    $p_id = isset($_POST["p_id"]) ? $_POST["p_id"] : "";
    $Pro =file_get_contents("pro.json");
    print_r($Pro);
}
else{
    print_r(json_encode(array("status"=>0,"mas"=>"不支持GET请求")));
}
